package com.base.commons.utils;

/**
 * 后台任务执行接口定义类.
 * <p>描述:主要负责在后台执行任务以免堵塞主任务执行</p>
 * Created by Irany (2017/12/14 0028 9:22
 */
public abstract class BackgroundJob implements Runnable {
    /** 任务参数. */
    protected Object[] params;

    /**
     * 构造函数.
     * @param params 任务参数
     */
    public BackgroundJob(Object... params) {
        this.params = params;
    }
}
